package com.xxx.mall.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xxx.mall.model.BaseDO;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 属性与分类关联信息
 * </p>
 *
 * @author 邢晨旭
 * @since 2023-11-23
 */
@Getter
@Setter
@TableName("attr_category")
public class AttrCategory extends BaseDO {

    /**
     * 属性与分类关联id
     */
    @TableId(value = "attr_category_id", type = IdType.AUTO)
    private Long attrCategoryId;

    /**
     * 分类id
     */
    @TableField("category_id")
    private Long categoryId;

    /**
     * 属性id
     */
    @TableField("attr_id")
    private Long attrId;
}
